package com.lzy.chatroom.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 服务端发送给客户端的消息.
 * @author 朕爷专属pro
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ResultMessage {
    /**是否是系统消息*/
    private boolean systemMsgFlag;

    /*** 发送方Name*/
    private String fromName;

    /*** 发送的数据*/
    private Object message;

}